ifeq ($(VALID_CUR_CORE), arcem7d)

ifeq ($(VALID_BD_VER), 22)
LIB_SECURESHIELD_VERSION = 1
else

ifeq ($(VALID_BD_VER), 23)
LIB_SECURESHIELD_VERSION = 2
else
$(error $(VALID_BOARD)-$(VALID_BD_VER)-$(VALID_CUR_CORE) is not supported in secureshield!)
endif

endif

else
$(error $(VALID_BOARD)-$(VALID_BD_VER)-$(VALID_CUR_CORE) is not supported in secureshield!)
endif

LIB_SECURESHIELD_BOARD_EMSK_DIR = $(LIB_SECURESHIELD_DIR)/board/emsk

LIB_SECURESHIELD_ASMSRCDIR += $(LIB_SECURESHIELD_BOARD_EMSK_DIR)/$(VALID_BD_VER)/7d_mpu/
LIB_SECURESHIELD_CSRCDIR += $(LIB_SECURESHIELD_BOARD_EMSK_DIR)/common $(LIB_SECURESHIELD_BOARD_EMSK_DIR)/$(VALID_BD_VER)/7d_mpu
LIB_SECURESHIELD_INCDIR += $(LIB_SECURESHIELD_BOARD_EMSK_DIR)/$(VALID_BD_VER)/7d_mpu

SECURESHIELD_BOARD_CONFIG_FILE = $(LIB_SECURESHIELD_BOARD_EMSK_DIR)/$(VALID_BD_VER)/7d_mpu/secureshield_board_config.h
